//
//  LCAppPackgerRequest.m
//  AFNetworking
//
//  Created by 贺彦文 on 2021/3/24.
//

#import "LCAppPackagerRequest.h"

@interface LCAppPackagerRequest ()
@property (nonatomic, assign) NSInteger page;
@end

@implementation LCAppPackagerRequest
- (instancetype)initWithPage:(NSInteger)page {
    if (self = [super init]) {
        self.page = page;
    }
    return self;
}
- (NSString *)baseUrl {
    return @"https://www.pgyer.com/";
}
- (NSString *)requestUrl {
    return @"apiv2/app/builds";
}
- (id)requestArgument {
    return @{@"_api_key":@"0f100573a132929b1fc0abc9d3e72615",
             @"appKey":@"09f59ded3c4b00ea1a41e592bd6e35fa",
             @"page":@(self.page)};
}
- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodPOST;
}
@end
